Skip to main content
POST
/
api
/
portrait
/
effects
/
emotion-editor
Change Facial Expressions
curl --request POST \
  --url https://www.ailabapi.com/api/portrait/effects/emotion-editor \
  --header 'Content-Type: multipart/form-data' \
  --header 'ailabapi-api-key: <api-key>' \
  --form image_target='@example-file'
{
  "request_id": "",
  "log_id": "",
  "error_detail": {
    "code": "",
    "code_message": "",
    "message": ""
  },
  "data": {
    "image": ""
  }
}

Documentation Index

Fetch the complete documentation index at: https://ailabtools.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

ailabapi-api-key
string
header
required

API Key for authentication

Body

multipart/form-data
image_target
file
  • Image format: JPEG JPG PNG
  • Image size: No more than 5 MB.
  • Image resolution: Less than 4096x4096px.
service_choice
enum<string>
Available options:
10,
11,
12,
13,
14,
15,
16,
100

Response

200 - application/json

Success

request_id
string
required

Request ID for debugging.

log_id
string
required

Log ID for debugging.

error_detail
object
required
data
object

The content of the result data returned.